package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供货商存货对照对象 sup_supplier_inventory
 * 
 * @author ruoyi
 * @date 2025-10-20
 */
public class SupSupplierInventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 关系ID */
    @Excel(name = "关系ID")
    private Long relationId;

    /** 供货商编码 */
    @Excel(name = "供货商编码")
    private String supplierCode;

    /** 存货编码 */
    @Excel(name = "存货编码")
    private String inventoryCode;

    /** 供货商存货编码 */
    private String supplierInventoryCode;

    /** 供货商存货名称 */
    @Excel(name = "供货商存货名称")
    private String supplierInventoryName;

    /** 装货数量 */
    @Excel(name = "装货数量")
    private BigDecimal packQuantity;

    /** 计量单位编码 */
    @Excel(name = "计量单位编码")
    private String unitCode;

    /** 状态（0正常 1停用） */
    private String status;

    /** 删除标志（0存在 1删除） */
    private String delFlag;

    public void setRelationId(Long relationId) 
    {
        this.relationId = relationId;
    }

    public Long getRelationId() 
    {
        return relationId;
    }

    public void setSupplierCode(String supplierCode) 
    {
        this.supplierCode = supplierCode;
    }

    public String getSupplierCode() 
    {
        return supplierCode;
    }

    public void setInventoryCode(String inventoryCode) 
    {
        this.inventoryCode = inventoryCode;
    }

    public String getInventoryCode() 
    {
        return inventoryCode;
    }

    public void setSupplierInventoryCode(String supplierInventoryCode) 
    {
        this.supplierInventoryCode = supplierInventoryCode;
    }

    public String getSupplierInventoryCode() 
    {
        return supplierInventoryCode;
    }

    public void setSupplierInventoryName(String supplierInventoryName) 
    {
        this.supplierInventoryName = supplierInventoryName;
    }

    public String getSupplierInventoryName() 
    {
        return supplierInventoryName;
    }

    public void setPackQuantity(BigDecimal packQuantity) 
    {
        this.packQuantity = packQuantity;
    }

    public BigDecimal getPackQuantity() 
    {
        return packQuantity;
    }

    public void setUnitCode(String unitCode) 
    {
        this.unitCode = unitCode;
    }

    public String getUnitCode() 
    {
        return unitCode;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("relationId", getRelationId())
            .append("supplierCode", getSupplierCode())
            .append("inventoryCode", getInventoryCode())
            .append("supplierInventoryCode", getSupplierInventoryCode())
            .append("supplierInventoryName", getSupplierInventoryName())
            .append("packQuantity", getPackQuantity())
            .append("unitCode", getUnitCode())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
